<?php
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.controller');
class DocarioController extends JController {
    function __construct() {
        parent::__construct();
        if (JRequest::getCmd('view') == '') {
            JRequest::setVar('view', 'default');
        }
        $this->item_type = 'Default';
    }
    
    function categories() {
        JRequest::setVar('view', 'category');
        
        parent::display();
    }
    
    function files() {
        JRequest::setVar('view', 'file');
        
        parent::display();
    }
    
    function groups() {
        JRequest::setVar('view', 'group');
        
        parent::display();
    }
}
?>
